home *** CD-ROM | disk | FTP | other *** search
- /******************************************************************/
- /* */
- /* TurboCAD for Windows */
- /* Copyright (c) 1993 - 2001 */
- /* International Microcomputer Software, Inc. */
- /* (IMSI) */
- /* All rights reserved. */
- /* */
- /******************************************************************/
- // EventDlg.h : header file
- //
-
- /////////////////////////////////////////////////////////////////////////////
- // CTCEventsDlg dialog
-
- class CTCEventsDlg : public CDialog
- {
- // Construction
- public:
- CTCEventsDlg(CWnd* pParent = NULL); // standard constructor
- ~CTCEventsDlg(); // TurboCAD SDK: make sure we release the application
-
- // Dialog Data
- //{{AFX_DATA(CTCEventsDlg)
- enum { IDD = IDD_EVENTS_DIALOG };
- //}}AFX_DATA
-
- // ClassWizard generated virtual function overrides
- //{{AFX_VIRTUAL(CTCEventsDlg)
- protected:
- virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
- //}}AFX_VIRTUAL
-
- // Operations
- public:
- void AppendText(LPCTSTR lpszText);
- void Clear();
-
- // Implementation
- protected:
- HICON m_hIcon;
- CEdit m_edit;
-
- // TurboCAD SDK: Pointer to the running application.
- IApplication* m_pIApplication;
- DWORD m_dwEventConnection;
- DWORD m_dwEventMask;
-
- IUnknown* CreateLocalServerObject();
- IUnknown* GetActiveObject(BOOL* pbCreateInstance);
- void ReleaseApp();
- void ConnectEvents();
- void DisconnectEvents();
-
- // Generated message map functions
- //{{AFX_MSG(CTCEventsDlg)
- virtual BOOL OnInitDialog();
- afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
- afx_msg void OnPaint();
- afx_msg HCURSOR OnQueryDragIcon();
- afx_msg void OnConnectEvents();
- afx_msg void OnExitApp();
- afx_msg void OnClearResults();
- //}}AFX_MSG
- afx_msg void OnEventMask(UINT nID);
- DECLARE_MESSAGE_MAP()
- };
-